package com.demo.springTask;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class SpringTask {
    /**
     * 可以看成一个轻量的Quartz
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(SpringTask.class,args);
    }
}
